package com.hk.model.vo.space;

import com.hk.model.vo.user.UserVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 20231
 */
@Data
public class SpaceVO implements Serializable {
    private static final long serialVersionUID = -3237357035215954406L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "空间名称")
    private String spaceName;

    @ApiModelProperty(value = "空间级别：0-普通版 1-专业版 2-旗舰版")
    private Integer spaceLevel;

    @ApiModelProperty(value = "空间图片的最大总大小")
    private Long maxSize;

    @ApiModelProperty(value = "空间图片的最大数量")
    private Long maxCount;

    @ApiModelProperty(value = "当前空间下图片的总大小")
    private Long totalSize;

    @ApiModelProperty(value = "当前空间下的图片数量")
    private Long totalCount;

    @ApiModelProperty(value = "创建用户 id")
    private Long userId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建用户")
    private UserVO userVO;

    @ApiModelProperty(value = "空间类型：0-私有空间，1-团队空间")
    private Integer spaceType;

    /**
     * 权限列表
     */
    private List<String> permissionList = new ArrayList<>();


}